package com.yanqu.road.entity.activity.chefduel.process2;

import com.yanqu.road.entity.DataObject;

public class ChefDuel2UserJoinData extends DataObject {

    private long userId1;

    private long userId2;

    private int joinTime1;

    private int joinTime2;

    private long lastJoinTime;

    private int activityId;

    //赴宴范围的id, 日志作用
    private int otherActivityId;

    public long getUserId1() {
        return userId1;
    }

    public void setUserId1(long userId1) {
        if(userId1 != this.userId1){
            this.userId1 = userId1;
            setUpdateOption();
        }
    }


    public long getUserId2() {
        return userId2;
    }

    public void setUserId2(long userId2) {
        if(userId2 != this.userId2){
            this.userId2 = userId2;
            setUpdateOption();
        }
    }

    public int getJoinTime1() {
        return joinTime1;
    }

    public void setJoinTime1(int joinTime1) {
        if(joinTime1 != this.joinTime1){
            this.joinTime1 = joinTime1;
            setUpdateOption();
        }
    }

    public int getJoinTime2() {
        return joinTime2;
    }

    public void setJoinTime2(int joinTime2) {
        if(joinTime2 != this.joinTime2){
            this.joinTime2 = joinTime2;
            setUpdateOption();
        }
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getLastJoinTime() {
        return lastJoinTime;
    }

    public void setLastJoinTime(long lastJoinTime) {
        if(lastJoinTime != this.lastJoinTime){
            this.lastJoinTime = lastJoinTime;
            setUpdateOption();
        }
    }

    public int getOtherActivityId() {
        return otherActivityId;
    }

    public void setOtherActivityId(int otherActivityId) {
        if(this.otherActivityId != otherActivityId) {
            this.otherActivityId = otherActivityId;
            setUpdateOption();
        }
    }
}
